package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrElderPayRecordForm extends GenericForm{

	private static final long serialVersionUID = -3319992898295839995L;

	private String elderPayRecordId;

	private String costDesc;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date payDate;

	private Float payMoney;

	private Integer payStatus;

	private Integer payWay;

	private String remark;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private String relationId;
	
	private String subjectRoomId;
	
	private Integer payType;
	
	private String createId;
	
	private String handler;
	
	private Float returnMoney;
	
	private Date returnTime;
	
	private String beHospitalId;
	
	private Integer quantity;
	
	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getBeHospitalId() {
		return beHospitalId;
	}

	public void setBeHospitalId(String beHospitalId) {
		this.beHospitalId = beHospitalId;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public Float getReturnMoney() {
		return returnMoney;
	}

	public void setReturnMoney(Float returnMoney) {
		this.returnMoney = returnMoney;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getElderPayRecordId() {
		return elderPayRecordId;
	}

	public void setElderPayRecordId(String elderPayRecordId) {
		this.elderPayRecordId = elderPayRecordId;
	}

	public String getCostDesc() {
		return costDesc;
	}

	public void setCostDesc(String costDesc) {
		this.costDesc = costDesc;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public Date getPayDate() {
		return payDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public Float getPayMoney() {
		return payMoney;
	}

	public void setPayMoney(Float payMoney) {
		this.payMoney = payMoney;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Integer getPayWay() {
		return payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
